from rest_framework.serializers import ModelSerializer
from news import models

class NewsSer(ModelSerializer):
  class Meta:
    model = models.News
    fields = '__all__'